package com.yxinsur.imc.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxinsur.imc.business.domain.ImcContractExpense;
import com.yxinsur.imc.business.vo.ImcContractExpenseVo;
import com.yxinsur.imc.common.core.domain.AjaxResult;

import java.util.List;

/**
 * 协议费用科目Service接口
 *
 * @author imc
 * @date 2021-07-28
 */
public interface IImcContractExpenseService extends IService<ImcContractExpense> {

    /**
     * 协议费用科目-查询列表
     *
     * @param id 协议Id
     * @return List<ImcContractExpenseVo>
     */
    List<ImcContractExpenseVo> listImcContractExpenseByContractId(Long id);

    /**
     * 删除协议费用科目
     *
     * @param id 协议费用科目id
     * @return 结果
     */
    AjaxResult deleteImcContractExpenseById(Long id);
}
